//
//  WDServiceWorkOrderDetailViewController.m
//  wd-serviceapp
//
//  Created by Bin Tang on 2024/8/7.
//

#import "WDServiceWorkOrderDetailViewController.h"
#import "WDServiceWorkOrderDetailViewModel.h"

@interface WDServiceWorkOrderDetailViewController ()
@property (nonatomic, strong) WDServiceWorkOrderDetailViewModel *viewModel;
@end

@implementation WDServiceWorkOrderDetailViewController

- (void)dealloc {
    debugMethod();
    
}

- (void)initWithVar {
    [super initWithVar];
    
}

- (void)initWithViewModel {
    _viewModel = [WDServiceWorkOrderDetailViewModel new];
    
    [_viewModel setupData];
}

- (void)initWithNavBar {
    [super initWithNavBar];
    
    [self initWithBackButton];
    
    self.navigationItem.title = self.viewModel.title;
}

- (void)initWithSubView {
    [super initWithSubView];
    
    [self initWithRootContent:NO];
    
}

@end
